home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
DOY.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
892b
|
40 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Doy( dDate ) --> nDay
PARAMETERS:
dDate : date to derive Day-of-Year
SHORT:
Calculate a "Julian" day of year number from a given date.
DESCRIPTION:
_Doy() calculates the "day-of-year" for the given date.
If dDate is not specified, the system date is assumed. If dDate is not in
the current year, then the return value represents the day-of-year for
the year specified.
dDate can be in the format of mm/dd/yy or mm/dd/yyyy.
NOTE:
EXAMPLE:
t = _Doy() // assuming sysdate is 03/12/93
Result: t = 71
t = _Doy(ctod('08/21/93'))
Result: t = 233
******************************************************************************/